package com.ikas.ai.server.module.instance.enums;

/**
 * @author hu.bowei@ikasinfo.com
 * @date2023-5-8 15:53:37
 * t_work_instance_step_detail表中的state
 * 状态，0=未开始、1=完成、2=失败
 */
public enum WorkInstanceStepDetailStateEnum {

    NOT_STARTED(0, "未开始"),
    COMPLETE(1, "完成"),
    ERROR(2, "失败"),
    ALARM(3,"预警");

    WorkInstanceStepDetailStateEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    private Integer code;

    private String desc;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
